﻿#ifndef _OperatorCreateAcceleration_H_
#define _OperatorCreateAcceleration_H_


#include "FITK_Kernel/FITKCore/FITKActionOperator.h"
#include "FITK_Kernel/FITKCore/FITKOperatorRepo.h"

namespace ModelOper
{
    class OperatorCreateAcceleration : public Core::FITKActionOperator
    {
        Q_OBJECT
    public:
        explicit OperatorCreateAcceleration() = default;
        virtual ~OperatorCreateAcceleration() = default;
        /**
         * @brief    执行界面操作
         * @return true     执行成功
         * @return false     执行失败
         * @author wangning (2185896382@qq.com)
         * @date   2025-09-17
         */
        virtual bool execGUI() override;
        /**
         * @brief    执行写出操作
         * @return   bool
         * @author wangning (2185896382@qq.com)
         * @date   2025-09-17
         */
        virtual bool execProfession() override;

    };

    // 按钮注册相关操作
    Register2FITKOperatorRepo(actionCreateAcceleration, OperatorCreateAcceleration);
    Register2FITKOperatorRepo(actionEditAcceleration, OperatorCreateAcceleration);
}

#endif